package com.finley.flowabledemo.plc.config;

import com.github.xingshuangs.iot.protocol.modbus.service.ModbusTcp;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ModbusConfig {

    @Bean
    public ModbusTcp modbusTcp() {
        return new ModbusTcp("192.168.3.43"); // 从站ID和PLC IP地址
    }
}
